/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.visitor;

/**
 *
 * @author Tam
 */
public abstract class Visitor implements Runnable{
    
    private int number;
    private int x,y;
    private int money;
        
    public Visitor(int number, int money){
        this.number = number;
        this.money = money;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
    
    
    
    public void walk(int newX, int newY){
        
    }
    
    
    public abstract void spendMoney();
    
    @Override
    public abstract void run();
      
}
